<template>
    <RouterView></RouterView>
    <van-tabbar v-model="active">
  <van-tabbar-item to="/Home" icon="home-o">主页</van-tabbar-item>
  <van-tabbar-item to="/Accompanying" icon="search">陪诊中</van-tabbar-item>
  <van-tabbar-item to="/Message" icon="friends-o">消息</van-tabbar-item>
  <van-tabbar-item  to="/Shopping" icon="setting-o">商城</van-tabbar-item>
  <van-tabbar-item  to="/My" icon="setting-o">我的</van-tabbar-item>
</van-tabbar>
</template>

<script setup>
import {ref} from 'vue';
 const active = ref(0);

</script>

<style lang="scss" scoped>

</style>